import { View, Text } from "@tarojs/components";
import { useEffect } from "react";
import { AtButton, AtBadge } from "taro-ui";
import QPVideoPlay from "@/src/component/QPVideoPlay";

import "./index.scss";

export default () => {
  useEffect(() => {}, []);

  return (
    <View className="index">
      <AtButton type="primary" size="small" circle className="btn">
        暂停按钮
      </AtButton>
      <View style={{ height: 300 }}>
        <QPVideoPlay />
      </View>

      <AtBadge value={10} maxValue={99}>
        <AtButton size="small">按钮</AtButton>
      </AtBadge>
    </View>
  );
};
